package com.bootdo.program.wallpaper.service;

import com.bootdo.program.wallpaper.dao.BzClassificationDao;
import com.bootdo.program.wallpaper.domain.BzClassificationDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class BzClassificationService {
	@Autowired
	private BzClassificationDao bzClassificationDao;
	
	public BzClassificationDO get(Integer id){
		return bzClassificationDao.get(id);
	}
	
	
	public List<BzClassificationDO> list(Map<String, Object> map){
		return bzClassificationDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return bzClassificationDao.count(map);
	}
	
	
	public int save(BzClassificationDO bzClassification){
		return bzClassificationDao.save(bzClassification);
	}
	
	
	public int update(BzClassificationDO bzClassification){
		return bzClassificationDao.update(bzClassification);
	}
	
	
	public int remove(Integer id){
		return bzClassificationDao.remove(id);
	}
	
	
	public int batchRemove(Integer[] ids){
		return bzClassificationDao.batchRemove(ids);
	}
	
}
